<?php
namespace frontend\controllers;

use common\models\Regexp;
use yii\web\Controller;

/**
 * Site controller
 */
class MomController extends Controller
{
    public $enableCsrfValidation=false;

    /**
     * Displays homepage.
     *
     * @return mixed
     */
    public function actionIndex()
    {
        return $this->actionRegexp();
    }



    /**
     * 坐标转换
     */
    public function actionDiff(){
        return $this->render('diff');
    }

    public function actionTimestamp(){
        return $this->render('timestamp');
    }

}
